package com.cn.algorithm.one.set;

import com.cn.algorithm.one.map.VisitMap;

public interface Set<E> {

    int size();

    boolean isEmpty();

    void clear();

    void add(E element);

    void remove(E element);

    boolean contains(E element);

    void traversal(VisitMap<E, Object> visit);

}
